package com.banksoft.cps.service;

import com.banksoft.cps.bean.warpper.BaseStatisticsGroup;
import com.banksoft.cps.bean.StatisticsV2;
import com.banksoft.cps.bean.common.ServiceException;
import com.banksoft.cps.bean.query.StatisticsCommonQuery;
import com.banksoft.cps.bean.query.StatisticsQuery;
import com.banksoft.cps.bean.warpper.BaseStatistics;
import com.banksoft.cps.bean.warpper.StatisticsWarpper;

import java.util.List;

/**
 *    光tm的统计就改了3版了。
 *    垃圾提出来需求就是tm的垃圾，
 *    脑袋想都不想，就tm的提需求。
 *
 * Created by rongzhao.zhu on 2018/1/16.
 */
public interface StatisticsService {

    StatisticsWarpper query(StatisticsQuery query)throws ServiceException;

    List<StatisticsV2> queryV2(StatisticsQuery query)throws ServiceException;

    List<StatisticsV2> queryV3(StatisticsQuery query)throws ServiceException;

    List<BaseStatistics> statistics(StatisticsCommonQuery query)throws ServiceException;

    BaseStatisticsGroup statisticsSupplierOrders(StatisticsCommonQuery query) throws Exception;

    BaseStatisticsGroup statisticsSaleOrders(StatisticsCommonQuery query) throws Exception;

}
